package com.rabbitmq.ChattingRoom.util.common.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class HistoryMSGReq {
    /**
     * 消息id
     */
    @ApiModelProperty(value = "消息id",required = true)
    private String id;
    /**
     * 发件人id
     */
    @ApiModelProperty(value = "发件人id",required = true)
    private String fromId;
    /**
     * 发件人昵称
     */
    @ApiModelProperty(value = "发件人昵称",required = true)
    private String nickName;
    /**
     * 发件人头像
     */
    @ApiModelProperty(value = "发件人头像",required = true)
    private String img;
    /**
     * 收件人类型（1:用户  2:聊天室）
     */
    @ApiModelProperty(value = "收件人类型(1:用户  2:聊天室)")
    private Integer reveType;
    /**
     * 收件人id(聊天室id)
     */
    @ApiModelProperty(value = "收件人Id(聊天室Id)",required = true)
    private String reveId;
    /**
     * 发送时间
     */
    @ApiModelProperty(value = "发送时间",required = true)
    private String createTime;
    /**
     * 消息类型(1:文字 2:图片 3:音频 4:视频)
     */
    @ApiModelProperty(value = "消息类型(1:文字 2:图片 3:音频 4:视频)",required = true)
    private String msgType;
    /**
     * 消息
     */
    @ApiModelProperty(value = "消息内容",required = true)
    private String msgContent;
}
